home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3mpspec.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_MPSPE_H = 1;
- include("real/code/r3matprp.js")
-
-
- var R3CLID_MPSPECULAR = 787;
-
-
-
-
- R3MPSPEA_Sharpness = 787500;
- function SetR3MPSPEA_Sharpness(value) {
- R3Set(this.r3obj, R3MPSPEA_Sharpness, value, R3TID_FLOAT, 0);
- }
-
- function GetR3MPSPEA_Sharpness() {
- return R3Get(this.r3obj, R3MPSPEA_Sharpness, R3TID_FLOAT, 0);
- }
-
- R3MPSPEA_Brightness = 787501;
- function SetR3MPSPEA_Brightness(value) {
- R3Set(this.r3obj, R3MPSPEA_Brightness, value, R3TID_FLOAT, 0);
- }
-
- function GetR3MPSPEA_Brightness() {
- return R3Get(this.r3obj, R3MPSPEA_Brightness, R3TID_FLOAT, 0);
- }
-
-
-
- function r3Mpspecular () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_MPSPECULAR, arguments);
- }
- // Attributes
- this.GetSharpness=GetR3MPSPEA_Sharpness;
- this.SetSharpness=SetR3MPSPEA_Sharpness;
- this.GetBrightness=GetR3MPSPEA_Brightness;
- this.SetBrightness=SetR3MPSPEA_Brightness;
- }
-
- r3Mpspecular.prototype=new r3Matprop;
- // r3mpspec.h_H